<template>
  <div class="cart-list">
    <cart-list-item
      v-for="item in cartList" :key="item.id"
      :product="item">
    </cart-list-item>
  </div>
</template>

<script>
  import { mapGetters } from 'vuex'

  import CartListItem from './CartListItem'

  export default {
    name: "",
    computed: {
      ...mapGetters([
        'cartList'
      ])
    },
    components: {
      CartListItem
    }
  }
</script>

<style lang="less" scoped>

</style>
